package com.woniu108.valueAdded.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SignIn implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 积分签到编号
     */
    @TableId(value = "sign_in_id", type = IdType.AUTO)
    private Integer signInId;

    /**
     * 用户编号
     */
    private String userId;

    /**
     * 上次签到时间
     */
    private LocalDateTime lastSignInTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 签到次数累计
     */
    private Integer signInNum;


}
